<template>
  <div class="nnn">
    <div class="hder">
      <!--<router-link to="/Login" class="lef icons4"></router-link>      这种router跳转不好，只能固定跳转到某地，不灵活-->
      <span class="lef icons4" onclick="history.back()"></span>
      <span  class="cent">注册</span>
      <a href="#"></a>
    </div>
    <div class="main backColo">
      <fromItem></fromItem>
      <button class="submit-but submit-font butBorder magT20">下一步</button>
      <div class="xieyi">
        注册则代表同意<span>来伊份用户协议</span>联系客服
      </div>
    </div>
  </div>
</template>
<script>
  import  fromItem from "./form.vue"
  export default {
    components:{
      fromItem
    }
  }
</script>
<style scoped>
  .nnn{
    height: 100vh;
  }
  .backColo{
    background: #f0f0f0;
  }
  .backwhite{
    background: white;
  }

  .butBorder{
    border:0;
    text-align: center;
    vertical-align: middle;
    outline:none;
  }

  .submit-but{
    width: 100%;
    height: .5rem;
    background: -webkit-linear-gradient(top,#ff7c20,#ff7900);
    border-radius: .05rem;
  }
  .submit-font{
    color: white;
    font-size: .18rem;
  }

  .hder{
    height: .44rem;
    line-height: .44rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .1rem;
  }
  .hder .lef{
    background-position: -213px -352px;
    display: inline-block;
    width: .28rem;
    height: .28rem;
    /*vertical-align:middle;*/
  }
  .hder .cent{
    font-size: .18rem;
  }
  .hder .rig{
    font-size: .14rem;
  }
  .hder a{
    display: inline-block;
    width: .25rem;
    height: .25rem;
  }

  .main{
    padding: .35rem .2rem 0 .2rem;
    min-height: 100%;
  }

  .xieyi{
    padding: 0 .07rem;
    margin-top: .1rem;
  }
  .xieyi span{
    display: inline-block;
    color:#ff6900;
    margin-right: .5rem;
  }
</style>
